package com.oreilly.ez.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import java.util.Date;


/**
 * 每天的笔记
 */

@Data
@Entity
@Table(name = "sys_note_item")
@ToString
public class SysNoteItem extends BaseEntity {


    // new field...

    @ManyToOne
    @JoinColumn(name = "note_id")
    private SysNote sysNote;


    @Column(name = "time_title")
    private String timeTitle;

    @Column(name = "time_note")
    private String timeNote;

//    private String time01;
//    private String time02;
//    private String time03;
//    private String time04;
//    private String time05;
//    private String time06;
//    private String time07;
//    private String time08;
//    private String time09;
//    private String time10;
//    private String time11;
//    private String time12;
//    private String time13;
//    private String time14;
//    private String time15;
//    private String time16;
//    private String time17;
//    private String time18;
//    private String time19;
//    private String time20;
//    private String time21;
//    private String time22;
//    private String time23;


}
